package com.example.springbootredis.Entity;

import java.math.BigDecimal;

public class RedPacket {
    public int id;
    public BigDecimal amount;

    public RedPacket(int id, BigDecimal amount) {
        this.id = id;
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "RedPacket{" +
                "id=" + id +
                ", amount=" + amount +
                '}';
    }
}
